package model

import cmd "mvc/command"

func Getdata(params interface{}) string {
	var m = params.(map[string]interface{})

	var name = m["name"].(string)
	//经过处理
	var data = make(map[string]interface{})
	data["name"] = "王五 and " + name
	var json = cmd.MapToJson(0, "成功", data)
	return json
}

func Getdata1(params interface{}) string {
	var m = params.(map[string]interface{})
	var name = m["name"].(string)
	var data = make(map[string]interface{})
	data["name"] = "王五1 and " + name
	var json = cmd.MapToJson(0, "成功", data)
	return json
}
